\special{DVIview_diagram
filename}
\special{DVIview_diagram @.Diagrams.Picture}
DVIview allows you to scale and crop your diagrams. To do so, simply add one or both of these commands after the file name in the special command above:
For example:
\special{DVIview_diagram @.Picture scale 50 50}
Note that scaling is performed before cropping, so if you crop 2cm from the left-hand edge of a diagram scaled to 50%, it will remove 2cm from the diagram you see on screen rather than 1cm.
Also, for compatibility with TechWriter, a border of 512 draw units is placed around each diagram. You'll need to take this into account for precise cropping.
In DVIview.tex, there is a macro
\diagram{
width}{
height}{
filename [optional commands]}
that will make space for and include a diagram in a
LATEX document if you give it the size of the diagram. As an example
see figure .
It would make life much easier if this macro could read the bounding box of the diagram. Unfortunately, I don't know if this is possible so if there are any wizards out there who can help me then please get in contact.